package routers

import (
	"beluga/controllers"
	"beluga/controllers/auth"
	"beluga/controllers/cmdb"

	"github.com/astaxie/beego"
)

func init() {
	beego.Router("/", &controllers.MainController{})
	beego.Router("/auth/register", &auth.Register{})
	beego.Router("/auth/login", &auth.LoginController{})
	beego.Router("/auth/lists", &auth.UsersListController{})
	beego.Router("/auth/logout", &auth.UserLogoutController{})
	beego.Router("/cmdb/aa", &cmdb.XingoController{})
}
